package ink.tiptop.dto.req.base.key;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 公钥信息表(ZjfPubKey)实体类
 *
 * @author makejava
 * @since 2020-07-20 16:31:45
 */
@Getter
@Setter
@ApiModel("添加公钥信息对象")
public class AddZjfPubKeyEntityRequest implements Serializable {
    private static final long serialVersionUID = -2714951850677937774L;
    /**
    * 公钥信息
    */    
    @JsonProperty("KEY")
    @NotBlank(message = "公钥信息不能为空")
    @ApiModelProperty(example="abc",required=true,value = "公钥信息")
    private String key;
    /**
    * 说明
    */    
    @JsonProperty("DESC")
    @NotBlank(message = "说明不能为空")
    @ApiModelProperty(example="测试公钥001",required=true,value = "说明")
    private String desc;

    /**
    * 短语
    */
    @JsonProperty("PHRASE")
    @ApiModelProperty(example="",required=false,value = "短语")
    private String phrase;



}